package cc.mrbird.febs.music.service;

import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.music.domain.MusicBean;
import cc.mrbird.febs.music.domain.MusicToUser;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MusicService extends IService<MusicBean> {

    IPage<MusicBean> getData(MusicBean music, QueryRequest queryRequest);

    List<MusicToUser> listUser(String musicId);

    List<MusicBean> listMusicByUser(String userId);
}
